//
//  WriteAssistansView.swift
//  Chatup
//
//  Created by op on 2023/10/17.
//

import Foundation

struct WriteAssistansModel:Identifiable {
    let id = UUID()
    let name:String
    let iconName:String
    let des:String?
    init(name: String, iconName: String,des:String? = "") {
        self.name = name
        self.iconName = iconName
        self.des = des
    }
}

@MainActor
class WriteAssistansViewModel: ObservableObject {
    @Published var items:[WriteAssistansModel] = []
    @Published var entItems:[WriteAssistansModel] = []
    @Published var quickItems:[WriteAssistansModel] = []
    init() {
        items.append(.init(name: String.i18nText("assistant_writing_story"), iconName: "icon_Novels",des: String.i18nText("assistant_prompts_story")))
        items.append(.init(name: String.i18nText("assistant_writing_lyrics"), iconName: "icon_Lyrics",des: String.i18nText("assistant_prompts_lyrics")))
        items.append(.init(name: String.i18nText("assistant_writing_poem"), iconName: "icon_Poem",des: String.i18nText("assistant_prompts_poem")))
        items.append(.init(name: String.i18nText("assistant_writing_essay"), iconName: "icon_Essay",des: String.i18nText("assistant_prompts_essay")))
        items.append(.init(name: String.i18nText("assistant_writing_name"), iconName: "icon_Name",des: String.i18nText("assistant_prompts_name")))
        items.append(.init(name: String.i18nText("assistant_writing_email"), iconName: "icon_Email",des: String.i18nText("assistant_prompts_email")))

        
        entItems.append(.init(name: String.i18nText("assistant_entertainment_game"), iconName: "icon_Chat_games",des: String.i18nText("assistant_prompts_game")))
        entItems.append(.init(name: String.i18nText("assistant_entertainment_jokes"), iconName: "icon_Fun_jokes",des: String.i18nText("assistant_prompts_jokes")))
        
        quickItems.append(.init(name: String.i18nText("prompts_quick_response_1"), iconName: ""))
        quickItems.append(.init(name: String.i18nText("prompts_quick_response_2"), iconName: ""))
        quickItems.append(.init(name: String.i18nText("prompts_quick_response_3"), iconName: ""))
        quickItems.append(.init(name: String.i18nText("prompts_quick_response_4"), iconName: ""))
        quickItems.append(.init(name: String.i18nText("prompts_quick_response_5"), iconName: ""))
        quickItems.append(.init(name: String.i18nText("prompts_quick_response_6"), iconName: ""))
        quickItems.append(.init(name: String.i18nText("prompts_quick_response_7"), iconName: ""))
        quickItems.append(.init(name: String.i18nText("prompts_quick_response_8"), iconName: ""))
        quickItems.append(.init(name: String.i18nText("prompts_quick_response_9"), iconName: ""))
        quickItems.append(.init(name: String.i18nText("prompts_quick_response_10"), iconName: ""))
        quickItems.append(.init(name: String.i18nText("prompts_quick_response_11"), iconName: ""))
        quickItems.append(.init(name: String.i18nText("prompts_quick_response_12"), iconName: ""))
        quickItems.append(.init(name: String.i18nText("prompts_quick_response_13"), iconName: ""))
        quickItems.append(.init(name: String.i18nText("prompts_quick_response_14"), iconName: ""))
        quickItems.append(.init(name: String.i18nText("prompts_quick_response_15"), iconName: ""))
        quickItems.append(.init(name: String.i18nText("prompts_quick_response_16"), iconName: ""))
        quickItems.append(.init(name: String.i18nText("prompts_quick_response_17"), iconName: ""))
        quickItems.append(.init(name: String.i18nText("prompts_quick_response_18"), iconName: ""))
        quickItems.append(.init(name: String.i18nText("prompts_quick_response_19"), iconName: ""))
        quickItems.append(.init(name: String.i18nText("prompts_quick_response_20"), iconName: ""))


    }
    
}

